@(uid: Long,uname:String)
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>发表文章 - 心尖偏左</title>
    <meta name="keywords" content="心尖偏左,xjpz,心尖偏左博客,xjpzblog,心尖偏左Blog,心尖依然偏左,scala+play,Scala满足了我对编程语言的所有幻想." />
    <meta name="description" content="心尖偏左Blog是一个用Scala+Play搭建的以分享知识、技术交流为目的的博客系统。博主心尖偏左是一个Scala语言的忠实粉丝，热爱Scala。" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

      <!--音乐播放器 -->
    <script src="@routes.Assets.versioned("javascripts/jquery.min.js")"></script>
      <!-- simditor 富文本编辑器 -->

    <script type="text/javascript" src="@routes.Assets.versioned("simditor/scripts/module.js")"></script>
    <script type="text/javascript" src="@routes.Assets.versioned("simditor/scripts/hotkeys.js")"></script>
    <script type="text/javascript" src="@routes.Assets.versioned("simditor/scripts/uploader.js")"></script>
    <script type="text/javascript" src="@routes.Assets.versioned("simditor/scripts/simditor.js")"></script>

      <!--  simditor-markdown  -->
    <script type="text/javascript" src="@routes.Assets.versioned("simditor/scripts/marked.js")"></script>
    <script type="text/javascript" src="@routes.Assets.versioned("simditor/scripts/to-markdown.js")"></script>
    <script type="text/javascript" src="@routes.Assets.versioned("simditor/scripts/simditor-markdown.js")"></script>
    <link rel="stylesheet" type="text/css" href="@routes.Assets.versioned("simditor/styles/simditor-markdown.css")" media="screen" charset="utf-8" />

    <link rel="stylesheet" type="text/css" href="@routes.Assets.versioned("simditor/styles/simditor.css")" media="screen" charset="utf-8" />
    <link rel="stylesheet" href="@routes.Assets.versioned("stylesheets/base.css")" />
    <link rel="stylesheet" href="@routes.Assets.versioned("stylesheets/article_new.css")" >
    <link rel="shortcut icon" href="@routes.Assets.versioned("images/favicon.png")" />

      <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="@routes.Assets.versioned("stylesheets/bootstrap.min.css")" />

      <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="http://cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
    <script type="text/javascript">

            $(function(){
              toolbar = [ 'title', 'bold', 'italic', 'underline', 'strikethrough',
                'color', '|', 'ol', 'ul', 'blockquote', 'code', 'table', '|',
                'link', 'image', 'hr', '|', 'indent', 'outdent','markdown' ];
              var editor = new Simditor( {
                textarea : $('#editor'),
                placeholder : '这里输入内容...',
                toolbar : toolbar,  //工具栏
                defaultImage : '@routes.Assets.versioned("simditor/images/image.png")', //编辑器插入图片时使用的默认图片
                upload : {
                  url : '@routes.ResourceController.upload()', //文件上传的接口地址
                  params: null, //键值对,指定文件上传接口的额外参数,上传的时候随文件一起提交
                  fileKey: 'fileDataFileName', //服务器端获取文件数据的参数名
                  connectionCount: 3,
                  leaveConfirm: '正在上传文件'
                }
              });
            })

    </script>
    <script>
            var _hmt = _hmt || [];
            (function() {
              var hm = document.createElement("script");
              hm.src = "//hm.baidu.com/hm.js?a43a6a0c825c678693fcedd5df8e869d";
              var s = document.getElementsByTagName("script")[0];
              s.parentNode.insertBefore(hm, s);
            })();
    </script>

  </head>

  <body>

    @blog.blog_topbar(uid, uname)

    <!-- blog -->
  <div class="bloga" id="bloga">
      <!-- bloghead -->
    @blog.blog_head()

    <div class="blogb" id="blogb">
        <!-- blogbody -->
      @blog.blog_article_new()

    </div>

  </div>

    @footer.index_footer(2)

  </body>

</html>


<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"1","bdMiniList":["mshare","qzone","tsina","weixin","tieba","sqq","mail","copy","print"],"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"1","bdPos":"right","bdTop":"128"},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>

